#include <iostream>
#include <list>
#include <ostream>
//
// Created by lingzhitech on 25-9-23.
//
int main() {
    std::list<std::string> lst{"ab", "b", "c", "d", "e", "f", "ab"};
    auto count = std::count(lst.cbegin(), lst.cend(), "ab");
    std::cout << "The count " << count << std::endl;
}